home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: miker3@ix.netcom.com (Mike Rubenstein)
- Newsgroups: comp.lang.c
- Subject: Re: Why does a compiled program fail on another machine?
- Date: Wed, 03 Jan 1996 12:04:46 GMT
- Organization: Netcom
- Message-ID: <30ea6efb.45638272@nntp.ix.netcom.com>
- References: <4cd8b9$aor@news1.usa.pipeline.com>
- NNTP-Posting-Host: ix-dc8-18.ix.netcom.com
- X-NETCOM-Date: Wed Jan 03 4:04:07 AM PST 1996
- X-Newsreader: Forte Agent .99c/16.141
-
- grantp@usa.pipeline.com(Pete) wrote:
-
- |>On Jan 03, 1996 02:06:46 in article <Why does a compiled program
- fail on
- |>another machine?>, 'Douglas John Standen <John@metsys.demon.co.uk>'
- wrote:
- |>
- |>
- |>>Having written and run a quite complex program, I find that it
- |>>works perfectly on my 386/22 every time, but fails on my friends
- |>>486 with acos domain error.
- |>
- |>Don't know what an "acos domain" error is -- but I do know it has
- |>nothing to do with the C language. Sounds like an OS or network
- |>error.
-
- Why are you so sure that this has nothing to do with the C language?
- From 7.5.2.1 (ISO) of the C standard:
-
- The acos function computes the principal value of the arc
- cosine of x. A domain error occurs for arguments not in the
- range [-1, 1].
-
-
- Michael M Rubenstein
-